package view;

import javax.swing.JFrame;
import java.awt.Dimension;
import javax.swing.JPanel;
import java.awt.GridBagLayout;
import javax.swing.JTabbedPane;
import java.awt.GridBagConstraints;
import javax.swing.JLabel;
import java.awt.Insets;
import java.text.ParseException;

import javax.swing.JComboBox;
import javax.swing.JFormattedTextField;
import javax.swing.JTextField;
import javax.swing.JList;
import javax.swing.JTextArea;
import javax.swing.JButton;
import javax.swing.text.MaskFormatter;

import com.sun.org.apache.bcel.internal.generic.NEW;

public class ClienteFormJanela extends JFrame {
	private int id = 0;
	private JPanel jPanel = null;
	private JTabbedPane jTabbedPane = null;
	private JPanel jPanelCadastro = null;
	private JLabel jLabel = null;
	private JLabel jLabel1 = null;
	private JLabel jLabel2 = null;
	private JLabel jLabel3 = null;
	private JLabel jLabel4 = null;
	private JLabel jLabel5 = null;
	private JLabel jLabel6 = null;
	private JLabel jLabel7 = null;
	private JLabel jLabel8 = null;
	private JLabel jLabel9 = null;
	private JLabel jLabel10 = null;
	private JLabel jLabel11 = null;
	private JLabel jLabel12 = null;
	private JTextField jTextFieldNome = null;
	private JTextField jTextFieldContato = null;
	private JTextField jTextFieldCnpjCpf = null;
	private JTextField jTextFieldRgIe = null;
	private JTextField jTextFieldEnder = null;
	private JTextField jTextFieldBairro = null;
	private JTextField jTextFieldMunic = null;
	private JTextField jTextFieldCep = null;
	private JTextField jTextFieldTelef = null;
	private JTextField jTextField1Fax = null;
	private JTextField jTextFieldCelular = null;
	private JTextField jTextFieldEmail = null;
	private JLabel jLabel13 = null;
	private JTextArea jTextAreaObs = null;
	private JButton jButtonSalvar = null;
	private JButton jButtonCancelar = null;
	private JComboBox jListEstados = null;
	private JPanel jPanelAdicionais = null;
	private JLabel jLabel14 = null;
	private JTextField jTextFieldPai = null;
	private JLabel jLabel15 = null;
	private JLabel jLabel16 = null;
	private JLabel jLabel17 = null;
	private JLabel jLabel18 = null;
	private JLabel jLabel19 = null;
	private JLabel jLabel20 = null;
	private JLabel jLabel21 = null;
	private JLabel jLabel22 = null;
	private JTextField jTextFieldMae = null;
	private JTextField jTextFieldConjugue = null;
	private JTextField jTextFieldProfis = null;
	private JTextField jTextFieldNatDe = null;
	private JTextField jTextFieldNasc = null;
	private JTextField jTextFieldLimCred = null;
	private JTextField jTextFieldDataCad = null;
	private JTextField jTextFieldUltVenda = null;
	/**
	 * This method initializes 
	 * @throws ParseException 
	 * 
	 */
	public ClienteFormJanela() throws ParseException {
		super();
		initialize();
	}

	/**
	 * This method initializes this
	 * @throws ParseException 
	 * 
	 */
	private void initialize() throws ParseException {
        this.setSize(new Dimension(450, 470));
        this.setContentPane(getJPanel());
        
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	/**
	 * This method initializes jPanel	
	 * 	
	 * @return javax.swing.JPanel	
	 * @throws ParseException 
	 */
	private JPanel getJPanel() throws ParseException {
		if (jPanel == null) {
			GridBagConstraints gridBagConstraints = new GridBagConstraints();
			gridBagConstraints.fill = GridBagConstraints.BOTH;
			gridBagConstraints.gridy = 0;
			gridBagConstraints.weightx = 1.0;
			gridBagConstraints.weighty = 1.0;
			gridBagConstraints.gridwidth = 2;
			gridBagConstraints.gridx = 0;
			jPanel = new JPanel();
			jPanel.setLayout(new GridBagLayout());
			jPanel.add(getJTabbedPane(), gridBagConstraints);
			GridBagConstraints gridBagConstraints30 = new GridBagConstraints();
			gridBagConstraints30.gridx = 1;
			gridBagConstraints30.insets = new Insets(5, 0, 5, 0);
			gridBagConstraints30.anchor = GridBagConstraints.EAST;
			gridBagConstraints30.gridy = 13;
			GridBagConstraints gridBagConstraints29 = new GridBagConstraints();
			gridBagConstraints29.gridx = 0;
			gridBagConstraints29.insets = new Insets(5, 0, 5, 0);
			gridBagConstraints29.gridy = 13;
			jPanel.add(getJButtonSalvar(), gridBagConstraints29);
			jPanel.add(getJButtonCancelar(), gridBagConstraints30);
		this.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
		}
		return jPanel;
	}

	/**
	 * This method initializes jTabbedPane	
	 * 	
	 * @return javax.swing.JTabbedPane	
	 * @throws ParseException 
	 */
	private JTabbedPane getJTabbedPane() throws ParseException {
		if (jTabbedPane == null) {
			jTabbedPane = new JTabbedPane();
			jTabbedPane.addTab("Cadastro", null, getJPanelCadastro(), null);
			jTabbedPane.addTab("Adicionais", null, getJPanelAdicionais(), null);
			
		}
		return jTabbedPane;
	}

	/**
	 * This method initializes jPanelCadastro	
	 * 	
	 * @return javax.swing.JPanel	
	 * @throws ParseException 
	 */
	private JPanel getJPanelCadastro() throws ParseException {
		if (jPanelCadastro == null) {
			GridBagConstraints gridBagConstraints22 = new GridBagConstraints();
			gridBagConstraints22.fill = GridBagConstraints.NONE;
			gridBagConstraints22.gridy = 7;
			gridBagConstraints22.weightx = 1.0;
			gridBagConstraints22.weighty = 1.0;
			gridBagConstraints22.anchor = GridBagConstraints.NORTHWEST;
			gridBagConstraints22.gridx = 1;
			GridBagConstraints gridBagConstraints27 = new GridBagConstraints();
			gridBagConstraints27.fill = GridBagConstraints.BOTH;
			gridBagConstraints27.gridy = 8;
			gridBagConstraints27.weightx = 1.0;
			gridBagConstraints27.weighty = 1.0;
			gridBagConstraints27.gridheight = 4;
			gridBagConstraints27.insets = new Insets(0, 10, 10, 10);
			gridBagConstraints27.gridx = 2;
			GridBagConstraints gridBagConstraints28 = new GridBagConstraints();
			gridBagConstraints28.gridx = 2;
			gridBagConstraints28.anchor = GridBagConstraints.NORTHWEST;
			gridBagConstraints28.insets = new Insets(0, 10, 0, 0);
			gridBagConstraints28.gridy = 7;
			jLabel13 = new JLabel();
			jLabel13.setText("Observações:");
			GridBagConstraints gridBagConstraints26 = new GridBagConstraints();
			gridBagConstraints26.fill = GridBagConstraints.HORIZONTAL;
			gridBagConstraints26.gridy = 12;
			gridBagConstraints26.weightx = 1.0;
			gridBagConstraints26.anchor = GridBagConstraints.NORTHWEST;
			gridBagConstraints26.insets = new Insets(0, 0, 10, 60);
			gridBagConstraints26.gridwidth = 2;
			gridBagConstraints26.gridx = 1;
			GridBagConstraints gridBagConstraints25 = new GridBagConstraints();
			gridBagConstraints25.fill = GridBagConstraints.HORIZONTAL;
			gridBagConstraints25.gridy = 11;
			gridBagConstraints25.weightx = 1.0;
			gridBagConstraints25.anchor = GridBagConstraints.NORTHWEST;
			gridBagConstraints25.insets = new Insets(0, 0, 10, 50);
			gridBagConstraints25.gridx = 1;
			GridBagConstraints gridBagConstraints24 = new GridBagConstraints();
			gridBagConstraints24.fill = GridBagConstraints.HORIZONTAL;
			gridBagConstraints24.gridy = 10;
			gridBagConstraints24.weightx = 1.0;
			gridBagConstraints24.anchor = GridBagConstraints.NORTHWEST;
			gridBagConstraints24.insets = new Insets(0, 0, 10, 50);
			gridBagConstraints24.gridx = 1;
			GridBagConstraints gridBagConstraints23 = new GridBagConstraints();
			gridBagConstraints23.fill = GridBagConstraints.HORIZONTAL;
			gridBagConstraints23.gridy = 9;
			gridBagConstraints23.weightx = 1.0;
			gridBagConstraints23.anchor = GridBagConstraints.NORTHWEST;
			gridBagConstraints23.insets = new Insets(0, 0, 10, 50);
			gridBagConstraints23.gridx = 1;
			GridBagConstraints gridBagConstraints21 = new GridBagConstraints();
			gridBagConstraints21.fill = GridBagConstraints.HORIZONTAL;
			gridBagConstraints21.gridy = 8;
			gridBagConstraints21.weightx = 1.0;
			gridBagConstraints21.anchor = GridBagConstraints.NORTHWEST;
			gridBagConstraints21.insets = new Insets(0, 0, 10, 70);
			gridBagConstraints21.gridx = 1;
			GridBagConstraints gridBagConstraints20 = new GridBagConstraints();
			gridBagConstraints20.fill = GridBagConstraints.HORIZONTAL;
			gridBagConstraints20.gridy = 6;
			gridBagConstraints20.weightx = 1.0;
			gridBagConstraints20.anchor = GridBagConstraints.NORTHWEST;
			gridBagConstraints20.insets = new Insets(0, 0, 10, 60);
			gridBagConstraints20.gridwidth = 2;
			gridBagConstraints20.gridx = 1;
			GridBagConstraints gridBagConstraints19 = new GridBagConstraints();
			gridBagConstraints19.fill = GridBagConstraints.HORIZONTAL;
			gridBagConstraints19.gridy = 5;
			gridBagConstraints19.weightx = 1.0;
			gridBagConstraints19.anchor = GridBagConstraints.NORTHWEST;
			gridBagConstraints19.insets = new Insets(0, 0, 10, 60);
			gridBagConstraints19.gridwidth = 2;
			gridBagConstraints19.gridx = 1;
			GridBagConstraints gridBagConstraints18 = new GridBagConstraints();
			gridBagConstraints18.fill = GridBagConstraints.HORIZONTAL;
			gridBagConstraints18.gridy = 4;
			gridBagConstraints18.weightx = 1.0;
			gridBagConstraints18.anchor = GridBagConstraints.NORTHWEST;
			gridBagConstraints18.insets = new Insets(0, 0, 10, 0);
			gridBagConstraints18.gridx = 1;
			GridBagConstraints gridBagConstraints17 = new GridBagConstraints();
			gridBagConstraints17.fill = GridBagConstraints.HORIZONTAL;
			gridBagConstraints17.gridy = 3;
			gridBagConstraints17.weightx = 1.0;
			gridBagConstraints17.anchor = GridBagConstraints.NORTHWEST;
			gridBagConstraints17.insets = new Insets(0, 0, 10, 30);
			gridBagConstraints17.gridx = 1;
			GridBagConstraints gridBagConstraints16 = new GridBagConstraints();
			gridBagConstraints16.fill = GridBagConstraints.HORIZONTAL;
			gridBagConstraints16.gridy = 2;
			gridBagConstraints16.weightx = 1.0;
			gridBagConstraints16.anchor = GridBagConstraints.NORTHWEST;
			gridBagConstraints16.insets = new Insets(0, 0, 10, 0);
			gridBagConstraints16.gridx = 1;
			GridBagConstraints gridBagConstraints15 = new GridBagConstraints();
			gridBagConstraints15.fill = GridBagConstraints.HORIZONTAL;
			gridBagConstraints15.gridy = 1;
			gridBagConstraints15.weightx = 1.0;
			gridBagConstraints15.anchor = GridBagConstraints.NORTHWEST;
			gridBagConstraints15.insets = new Insets(0, 0, 10, 0);
			gridBagConstraints15.gridx = 1;
			GridBagConstraints gridBagConstraints14 = new GridBagConstraints();
			gridBagConstraints14.fill = GridBagConstraints.HORIZONTAL;
			gridBagConstraints14.gridy = 0;
			gridBagConstraints14.weightx = 1.0;
			gridBagConstraints14.anchor = GridBagConstraints.NORTHWEST;
			gridBagConstraints14.insets = new Insets(10, 0, 10, 60);
			gridBagConstraints14.gridwidth = 2;
			gridBagConstraints14.gridx = 1;
			GridBagConstraints gridBagConstraints13 = new GridBagConstraints();
			gridBagConstraints13.gridx = 0;
			gridBagConstraints13.anchor = GridBagConstraints.WEST;
			gridBagConstraints13.ipadx = 0;
			gridBagConstraints13.ipady = 0;
			gridBagConstraints13.insets = new Insets(0, 10, 8, 20);
			gridBagConstraints13.gridy = 12;
			jLabel12 = new JLabel();
			jLabel12.setText("E-mail:");
			GridBagConstraints gridBagConstraints12 = new GridBagConstraints();
			gridBagConstraints12.gridx = 0;
			gridBagConstraints12.anchor = GridBagConstraints.WEST;
			gridBagConstraints12.ipadx = 0;
			gridBagConstraints12.ipady = 0;
			gridBagConstraints12.insets = new Insets(0, 10, 8, 20);
			gridBagConstraints12.gridy = 11;
			jLabel11 = new JLabel();
			jLabel11.setText("Celular:");
			GridBagConstraints gridBagConstraints11 = new GridBagConstraints();
			gridBagConstraints11.gridx = 0;
			gridBagConstraints11.anchor = GridBagConstraints.WEST;
			gridBagConstraints11.ipadx = 0;
			gridBagConstraints11.ipady = 0;
			gridBagConstraints11.insets = new Insets(0, 10, 8, 20);
			gridBagConstraints11.gridy = 10;
			jLabel10 = new JLabel();
			jLabel10.setText("Fax:");
			GridBagConstraints gridBagConstraints10 = new GridBagConstraints();
			gridBagConstraints10.gridx = 0;
			gridBagConstraints10.anchor = GridBagConstraints.WEST;
			gridBagConstraints10.ipadx = 0;
			gridBagConstraints10.ipady = 0;
			gridBagConstraints10.insets = new Insets(0, 10, 8, 20);
			gridBagConstraints10.gridy = 9;
			jLabel9 = new JLabel();
			jLabel9.setText("Telefone:");
			GridBagConstraints gridBagConstraints9 = new GridBagConstraints();
			gridBagConstraints9.gridx = 0;
			gridBagConstraints9.anchor = GridBagConstraints.WEST;
			gridBagConstraints9.ipadx = 0;
			gridBagConstraints9.ipady = 0;
			gridBagConstraints9.insets = new Insets(0, 10, 8, 20);
			gridBagConstraints9.gridy = 8;
			jLabel8 = new JLabel();
			jLabel8.setText("CEP:");
			GridBagConstraints gridBagConstraints8 = new GridBagConstraints();
			gridBagConstraints8.gridx = 0;
			gridBagConstraints8.anchor = GridBagConstraints.WEST;
			gridBagConstraints8.ipadx = 0;
			gridBagConstraints8.ipady = 0;
			gridBagConstraints8.insets = new Insets(0, 10, 8, 20);
			gridBagConstraints8.gridy = 7;
			jLabel7 = new JLabel();
			jLabel7.setText("UF:");
			GridBagConstraints gridBagConstraints7 = new GridBagConstraints();
			gridBagConstraints7.gridx = 0;
			gridBagConstraints7.anchor = GridBagConstraints.WEST;
			gridBagConstraints7.ipadx = 0;
			gridBagConstraints7.ipady = 0;
			gridBagConstraints7.insets = new Insets(0, 10, 8, 20);
			gridBagConstraints7.gridy = 6;
			jLabel6 = new JLabel();
			jLabel6.setText("Município:");
			GridBagConstraints gridBagConstraints6 = new GridBagConstraints();
			gridBagConstraints6.gridx = 0;
			gridBagConstraints6.anchor = GridBagConstraints.WEST;
			gridBagConstraints6.ipadx = 0;
			gridBagConstraints6.ipady = 0;
			gridBagConstraints6.insets = new Insets(0, 10, 8, 20);
			gridBagConstraints6.gridy = 5;
			jLabel5 = new JLabel();
			jLabel5.setText("Bairro:");
			GridBagConstraints gridBagConstraints5 = new GridBagConstraints();
			gridBagConstraints5.gridx = 0;
			gridBagConstraints5.anchor = GridBagConstraints.WEST;
			gridBagConstraints5.ipadx = 0;
			gridBagConstraints5.ipady = 0;
			gridBagConstraints5.insets = new Insets(0, 10, 8, 20);
			gridBagConstraints5.gridy = 4;
			jLabel4 = new JLabel();
			jLabel4.setText("Endereço:");
			GridBagConstraints gridBagConstraints4 = new GridBagConstraints();
			gridBagConstraints4.gridx = 0;
			gridBagConstraints4.anchor = GridBagConstraints.WEST;
			gridBagConstraints4.ipadx = 0;
			gridBagConstraints4.ipady = 0;
			gridBagConstraints4.insets = new Insets(0, 10, 8, 20);
			gridBagConstraints4.gridy = 3;
			jLabel3 = new JLabel();
			jLabel3.setText("RG:");
			GridBagConstraints gridBagConstraints3 = new GridBagConstraints();
			gridBagConstraints3.gridx = 0;
			gridBagConstraints3.anchor = GridBagConstraints.WEST;
			gridBagConstraints3.ipadx = 0;
			gridBagConstraints3.ipady = 0;
			gridBagConstraints3.insets = new Insets(0, 10, 8, 20);
			gridBagConstraints3.gridy = 2;
			jLabel2 = new JLabel();
			jLabel2.setText("CNPJ:");
			GridBagConstraints gridBagConstraints2 = new GridBagConstraints();
			gridBagConstraints2.gridx = 0;
			gridBagConstraints2.anchor = GridBagConstraints.WEST;
			gridBagConstraints2.ipadx = 0;
			gridBagConstraints2.ipady = 0;
			gridBagConstraints2.insets = new Insets(0, 10, 8, 20);
			gridBagConstraints2.gridy = 1;
			jLabel1 = new JLabel();
			jLabel1.setText("Contato:");
			GridBagConstraints gridBagConstraints1 = new GridBagConstraints();
			gridBagConstraints1.gridx = 0;
			gridBagConstraints1.anchor = GridBagConstraints.WEST;
			gridBagConstraints1.ipadx = 0;
			gridBagConstraints1.ipady = 0;
			gridBagConstraints1.insets = new Insets(10, 10, 8, 20);
			gridBagConstraints1.gridy = 0;
			jLabel = new JLabel();
			jLabel.setText("Nome:");
			jPanelCadastro = new JPanel();
			jPanelCadastro.setLayout(new GridBagLayout());
			jPanelCadastro.add(jLabel, gridBagConstraints1);
			jPanelCadastro.add(jLabel1, gridBagConstraints2);
			jPanelCadastro.add(jLabel2, gridBagConstraints3);
			jPanelCadastro.add(jLabel3, gridBagConstraints4);
			jPanelCadastro.add(jLabel4, gridBagConstraints5);
			jPanelCadastro.add(jLabel5, gridBagConstraints6);
			jPanelCadastro.add(jLabel6, gridBagConstraints7);
			jPanelCadastro.add(jLabel7, gridBagConstraints8);
			jPanelCadastro.add(jLabel8, gridBagConstraints9);
			jPanelCadastro.add(jLabel9, gridBagConstraints10);
			jPanelCadastro.add(jLabel10, gridBagConstraints11);
			jPanelCadastro.add(jLabel11, gridBagConstraints12);
			jPanelCadastro.add(jLabel12, gridBagConstraints13);
			jPanelCadastro.add(getJTextFieldNome(), gridBagConstraints14);
			jPanelCadastro.add(getJTextFieldContato(), gridBagConstraints15);
			jPanelCadastro.add(getJTextFieldCnpjCpf(), gridBagConstraints16);
			jPanelCadastro.add(getJTextFieldRgIe(), gridBagConstraints17);
			jPanelCadastro.add(getJTextFieldEnder(), gridBagConstraints18);
			jPanelCadastro.add(getJTextFieldBairro(), gridBagConstraints19);
			jPanelCadastro.add(getJTextFieldMunic(), gridBagConstraints20);
			jPanelCadastro.add(getJTextFieldCep(), gridBagConstraints21);
			jPanelCadastro.add(getJTextFieldTelef(), gridBagConstraints23);
			jPanelCadastro.add(getJTextField1Fax(), gridBagConstraints24);
			jPanelCadastro.add(getJTextFieldCelular(), gridBagConstraints25);
			jPanelCadastro.add(getJTextFieldEmail(), gridBagConstraints26);
			jPanelCadastro.add(jLabel13, gridBagConstraints28);
			jPanelCadastro.add(getJTextAreaObs(), gridBagConstraints27);
			jPanelCadastro.add(getJListEstados(), gridBagConstraints22);
		}
		return jPanelCadastro;
	}

	/**
	 * This method initializes jTextFieldNome	
	 * 	
	 * @return javax.swing.JTextField	
	 */
	public JTextField getJTextFieldNome() {
		if (jTextFieldNome == null) {
			jTextFieldNome = new JTextField();
			jTextFieldNome.setPreferredSize(new Dimension(4, 19));
			
		}
		return jTextFieldNome;
	}

	/**
	 * This method initializes jTextFieldContato	
	 * 	
	 * @return javax.swing.JTextField	
	 */
	public JTextField getJTextFieldContato() {
		if (jTextFieldContato == null) {
			jTextFieldContato = new JTextField();
			jTextFieldContato.setPreferredSize(new Dimension(4, 19));
		}
		return jTextFieldContato;
	}

	/**
	 * This method initializes jTextFieldCnpjCpf	
	 * 	
	 * @return javax.swing.JTextField	
	 */
	public JTextField getJTextFieldCnpjCpf() {
		if (jTextFieldCnpjCpf == null) {
			jTextFieldCnpjCpf = new JTextField();
			jTextFieldCnpjCpf.setPreferredSize(new Dimension(4, 19));
		}
		return jTextFieldCnpjCpf;
	}

	/**
	 * This method initializes jTextFieldRgIe	
	 * 	
	 * @return javax.swing.JTextField	
	 */
	public JTextField getJTextFieldRgIe() {
		if (jTextFieldRgIe == null) {
			jTextFieldRgIe = new JTextField();
			jTextFieldRgIe.setPreferredSize(new Dimension(4, 19));
		}
		return jTextFieldRgIe;
	}

	/**
	 * This method initializes jTextFieldEnder	
	 * 	
	 * @return javax.swing.JTextField	
	 */
	public JTextField getJTextFieldEnder() {
		if (jTextFieldEnder == null) {
			jTextFieldEnder = new JTextField();
			jTextFieldEnder.setPreferredSize(new Dimension(4, 19));
		}
		return jTextFieldEnder;
	}

	/**
	 * This method initializes jTextFieldBairro	
	 * 	
	 * @return javax.swing.JTextField	
	 */
	public JTextField getJTextFieldBairro() {
		if (jTextFieldBairro == null) {
			jTextFieldBairro = new JTextField();
			jTextFieldBairro.setPreferredSize(new Dimension(4, 19));
		}
		return jTextFieldBairro;
	}

	/**
	 * This method initializes jTextFieldMunic	
	 * 	
	 * @return javax.swing.JTextField	
	 */
	public JTextField getJTextFieldMunic() {
		if (jTextFieldMunic == null) {
			jTextFieldMunic = new JTextField();
			jTextFieldMunic.setPreferredSize(new Dimension(4, 19));
		}
		return jTextFieldMunic;
	}

	/**
	 * This method initializes jTextFieldCep	
	 * 	
	 * @return javax.swing.JTextField	
	 * @throws ParseException 
	 */
	public JTextField getJTextFieldCep() throws ParseException {
		if (jTextFieldCep == null) {
			jTextFieldCep = new JFormattedTextField(new MaskFormatter("#####-###"));
			
			jTextFieldCep.setPreferredSize(new Dimension(4, 19));
		}
		return jTextFieldCep;
	}

	/**
	 * This method initializes jTextFieldTelef	
	 * 	
	 * @return javax.swing.JTextField	
	 */
	public JTextField getJTextFieldTelef() {
		if (jTextFieldTelef == null) {
			jTextFieldTelef = new JTextField();
		}
		return jTextFieldTelef;
	}

	/**
	 * This method initializes jTextField1Fax	
	 * 	
	 * @return javax.swing.JTextField	
	 * @throws ParseException 
	 */
	public JTextField getJTextField1Fax() throws ParseException {
		if (jTextField1Fax == null) {
			jTextField1Fax = new JFormattedTextField(new MaskFormatter("(##)####-####"));
		}
		return jTextField1Fax;
	}

	/**
	 * This method initializes jTextFieldCelular	
	 * 	
	 * @return javax.swing.JTextField	
	 * @throws ParseException 
	 */
	public JTextField getJTextFieldCelular() throws ParseException {
		if (jTextFieldCelular == null) {
			jTextFieldCelular = new JFormattedTextField(new MaskFormatter("(##)####-####"));
		}
		return jTextFieldCelular;
	}

	/**
	 * This method initializes jTextFieldEmail	
	 * 	
	 * @return javax.swing.JTextField	
	 */
	public JTextField getJTextFieldEmail() {
		if (jTextFieldEmail == null) {
			jTextFieldEmail = new JTextField();
			jTextFieldEmail.setPreferredSize(new Dimension(4, 19));
		}
		return jTextFieldEmail;
	}

	/**
	 * This method initializes jTextAreaObs	
	 * 	
	 * @return javax.swing.JTextArea	
	 */
	public JTextArea getJTextAreaObs() {
		if (jTextAreaObs == null) {
			jTextAreaObs = new JTextArea();
		}
		return jTextAreaObs;
	}

	/**
	 * This method initializes jButtonSalvar	
	 * 	
	 * @return javax.swing.JButton	
	 */
	public JButton getJButtonSalvar() {
		if (jButtonSalvar == null) {
		jButtonSalvar = new JButton();
			jButtonSalvar.setText("Salvar");
		}
		return jButtonSalvar;
	}

	/**
	 * This method initializes jButtonCancelar	
	 * 	
	 * @return javax.swing.JButton	
	 */
	public JButton getJButtonCancelar() {
		if (jButtonCancelar == null) {
			jButtonCancelar = new JButton();
			jButtonCancelar.setText("Cancelar");
		}
		return jButtonCancelar;
	}

	/**
	 * This method initializes jListEstados	
	 * 	
	 * @return javax.swing.JList	
	 */
	public JComboBox getJListEstados() {
		if (jListEstados == null) {
			jListEstados = new JComboBox();
			
			//jListEstados.setVisible(aFlag)
			//jListEstados.setSelectedIndex(18); 
			jListEstados.setPreferredSize(new Dimension(50, 17));
		}
		return jListEstados;
	}
 
	/**
	 * This method initializes jPanelAdicionais	
	 * 	
	 * @return javax.swing.JPanel	
	 * @throws ParseException 
	 */
	private JPanel getJPanelAdicionais() throws ParseException {
		if (jPanelAdicionais == null) {
			/*GridBagConstraints gridBagConstraints50 = new GridBagConstraints();
			gridBagConstraints50.gridx = 1;
			gridBagConstraints50.anchor = GridBagConstraints.SOUTH;
			gridBagConstraints50.gridy = 11;
			GridBagConstraints gridBagConstraints49 = new GridBagConstraints();
			gridBagConstraints49.gridx = 0;
			gridBagConstraints49.anchor = GridBagConstraints.SOUTH;
			gridBagConstraints49.gridy = 11;*/
			GridBagConstraints gridBagConstraints48 = new GridBagConstraints();
			gridBagConstraints48.fill = GridBagConstraints.HORIZONTAL;
			gridBagConstraints48.gridy = 10;
			gridBagConstraints48.weightx = 1.0;
			gridBagConstraints48.anchor = GridBagConstraints.NORTHWEST;
			gridBagConstraints48.insets = new Insets(0, 0, 10, 200);
			gridBagConstraints48.gridx = 1;
			GridBagConstraints gridBagConstraints47 = new GridBagConstraints();
			gridBagConstraints47.fill = GridBagConstraints.HORIZONTAL;
			gridBagConstraints47.gridy = 8;
			gridBagConstraints47.weightx = 1.0;
			gridBagConstraints47.anchor = GridBagConstraints.NORTHWEST;
			gridBagConstraints47.insets = new Insets(0, 0, 10, 200);
			gridBagConstraints47.gridx = 1;
			GridBagConstraints gridBagConstraints46 = new GridBagConstraints();
			gridBagConstraints46.fill = GridBagConstraints.HORIZONTAL;
			gridBagConstraints46.gridy = 7;
			gridBagConstraints46.weightx = 1.0;
			gridBagConstraints46.anchor = GridBagConstraints.NORTHWEST;
			gridBagConstraints46.insets = new Insets(0, 0, 10, 230);
			gridBagConstraints46.gridx = 1;
			GridBagConstraints gridBagConstraints45 = new GridBagConstraints();
			gridBagConstraints45.fill = GridBagConstraints.HORIZONTAL;
			gridBagConstraints45.gridy = 5;
			gridBagConstraints45.weightx = 1.0;
			gridBagConstraints45.anchor = GridBagConstraints.NORTHWEST;
			gridBagConstraints45.insets = new Insets(0, 0, 10, 200);
			gridBagConstraints45.gridx = 1;
			GridBagConstraints gridBagConstraints44 = new GridBagConstraints();
			gridBagConstraints44.fill = GridBagConstraints.HORIZONTAL;
			gridBagConstraints44.gridy = 4;
			gridBagConstraints44.weightx = 1.0;
			gridBagConstraints44.anchor = GridBagConstraints.NORTHWEST;
			gridBagConstraints44.insets = new Insets(0, 0, 10, 60);
			gridBagConstraints44.gridx = 1;
			GridBagConstraints gridBagConstraints43 = new GridBagConstraints();
			gridBagConstraints43.fill = GridBagConstraints.HORIZONTAL;
			gridBagConstraints43.gridy = 3;
			gridBagConstraints43.weightx = 1.0;
			gridBagConstraints43.anchor = GridBagConstraints.NORTHWEST;
			gridBagConstraints43.insets = new Insets(0, 0, 10, 100);
			gridBagConstraints43.gridx = 1;
			GridBagConstraints gridBagConstraints42 = new GridBagConstraints();
			gridBagConstraints42.fill = GridBagConstraints.HORIZONTAL;
			gridBagConstraints42.gridy = 2;
			gridBagConstraints42.weightx = 1.0;
			gridBagConstraints42.anchor = GridBagConstraints.NORTHWEST;
			gridBagConstraints42.insets = new Insets(0, 0, 10, 130);
			gridBagConstraints42.gridx = 1;
			GridBagConstraints gridBagConstraints41 = new GridBagConstraints();
			gridBagConstraints41.fill = GridBagConstraints.BOTH;
			gridBagConstraints41.gridy = 1;
			gridBagConstraints41.weightx = 1.0;
			gridBagConstraints41.anchor = GridBagConstraints.NORTHWEST;
			gridBagConstraints41.insets = new Insets(0, 0, 10, 60);
			gridBagConstraints41.gridx = 1;
			GridBagConstraints gridBagConstraints40 = new GridBagConstraints();
			gridBagConstraints40.gridx = 0;
			gridBagConstraints40.insets = new Insets(0, 10, 8, 20);
			gridBagConstraints40.anchor = GridBagConstraints.NORTHWEST;
			gridBagConstraints40.gridy = 10;
			jLabel22 = new JLabel();
			jLabel22.setText("Última Venda:");
			GridBagConstraints gridBagConstraints39 = new GridBagConstraints();
			gridBagConstraints39.gridx = 0;
			gridBagConstraints39.insets = new Insets(0, 10, 8, 20);
			gridBagConstraints39.anchor = GridBagConstraints.NORTHWEST;
			gridBagConstraints39.gridy = 8;
			jLabel21 = new JLabel();
			jLabel21.setText("Cadastro:");
			GridBagConstraints gridBagConstraints38 = new GridBagConstraints();
			gridBagConstraints38.gridx = 0;
			gridBagConstraints38.insets = new Insets(0, 10, 8, 20);
			gridBagConstraints38.anchor = GridBagConstraints.NORTHWEST;
			gridBagConstraints38.gridy = 7;
			jLabel20 = new JLabel();
			jLabel20.setText("Limite crédito:");
			GridBagConstraints gridBagConstraints37 = new GridBagConstraints();
			gridBagConstraints37.gridx = 0;
			gridBagConstraints37.insets = new Insets(0, 10, 8, 20);
			gridBagConstraints37.anchor = GridBagConstraints.NORTHWEST;
			gridBagConstraints37.gridy = 5;
			jLabel19 = new JLabel();
			jLabel19.setText("Nascido em:");
			GridBagConstraints gridBagConstraints36 = new GridBagConstraints();
			gridBagConstraints36.gridx = 0;
			gridBagConstraints36.insets = new Insets(0, 10, 8, 20);
			gridBagConstraints36.anchor = GridBagConstraints.NORTHWEST;
			gridBagConstraints36.gridy = 4;
			jLabel18 = new JLabel();
			jLabel18.setText("Natural de:");
			GridBagConstraints gridBagConstraints35 = new GridBagConstraints();
			gridBagConstraints35.gridx = 0;
			gridBagConstraints35.insets = new Insets(0, 10, 8, 20);
			gridBagConstraints35.anchor = GridBagConstraints.NORTHWEST;
			gridBagConstraints35.gridy = 3;
			jLabel17 = new JLabel();
			jLabel17.setText("Profissão:");
			GridBagConstraints gridBagConstraints34 = new GridBagConstraints();
			gridBagConstraints34.gridx = 0;
			gridBagConstraints34.insets = new Insets(0, 10, 8, 20);
			gridBagConstraints34.anchor = GridBagConstraints.NORTHWEST;
			gridBagConstraints34.gridy = 2;
			jLabel16 = new JLabel();
			jLabel16.setText("Cônjugue:");
			GridBagConstraints gridBagConstraints33 = new GridBagConstraints();
			gridBagConstraints33.gridx = 0;
			gridBagConstraints33.insets = new Insets(0, 10, 8, 20);
			gridBagConstraints33.anchor = GridBagConstraints.NORTHWEST;
			gridBagConstraints33.gridy = 1;
			jLabel15 = new JLabel();
			jLabel15.setText("Nome do Mãe:");
			GridBagConstraints gridBagConstraints32 = new GridBagConstraints();
			gridBagConstraints32.fill = GridBagConstraints.BOTH;
			gridBagConstraints32.gridy = 0;
			gridBagConstraints32.weightx = 1.0;
			gridBagConstraints32.insets = new Insets(10, 0, 10, 60);
			gridBagConstraints32.anchor = GridBagConstraints.NORTHWEST;
			gridBagConstraints32.gridx = 1;
			GridBagConstraints gridBagConstraints31 = new GridBagConstraints();
			gridBagConstraints31.gridx = 0;
			gridBagConstraints31.insets = new Insets(10, 10, 8, 20);
			gridBagConstraints31.anchor = GridBagConstraints.NORTHWEST;
			gridBagConstraints31.gridy = 0;
			jLabel14 = new JLabel();
			jLabel14.setText("Nome do Pai:");
			jPanelAdicionais = new JPanel();
			jPanelAdicionais.setLayout(new GridBagLayout());
			jPanelAdicionais.add(jLabel14, gridBagConstraints31);
			jPanelAdicionais.add(getJTextFieldPai(), gridBagConstraints32);
			jPanelAdicionais.add(jLabel15, gridBagConstraints33);
			jPanelAdicionais.add(jLabel16, gridBagConstraints34);
			jPanelAdicionais.add(jLabel17, gridBagConstraints35);
			jPanelAdicionais.add(jLabel18, gridBagConstraints36);
			jPanelAdicionais.add(jLabel19, gridBagConstraints37);
			jPanelAdicionais.add(jLabel20, gridBagConstraints38);
			jPanelAdicionais.add(jLabel21, gridBagConstraints39);
			jPanelAdicionais.add(jLabel22, gridBagConstraints40);
			jPanelAdicionais.add(getJTextFieldMae(), gridBagConstraints41);
			jPanelAdicionais.add(getJTextFieldConjugue(), gridBagConstraints42);
			jPanelAdicionais.add(getJTextFieldProfis(), gridBagConstraints43);
			jPanelAdicionais.add(getJTextFieldNatDe(), gridBagConstraints44);
			jPanelAdicionais.add(getJTextFieldNasc(), gridBagConstraints45);
			jPanelAdicionais.add(getJTextFieldLimCred(), gridBagConstraints46);
			jPanelAdicionais.add(getJTextFieldDataCad(), gridBagConstraints47);
			jPanelAdicionais.add(getJTextFieldUltVenda(), gridBagConstraints48);
			
		}
		return jPanelAdicionais;
	}

	/**
	 * This method initializes jTextFieldPai	
	 * 	
	 * @return javax.swing.JTextField	
	 */
	public JTextField getJTextFieldPai() {
		if (jTextFieldPai == null) {
			jTextFieldPai = new JTextField();
		}
		return jTextFieldPai;
	}

	/**
	 * This method initializes jTextFieldMae	
	 * 	
	 * @return javax.swing.JTextField	
	 */
	public JTextField getJTextFieldMae() {
		if (jTextFieldMae == null) {
			jTextFieldMae = new JTextField();
		}
		return jTextFieldMae;
	}

	/**
	 * This method initializes jTextFieldConjugue	
	 * 	
	 * @return javax.swing.JTextField	
	 */
	public JTextField getJTextFieldConjugue() {
		if (jTextFieldConjugue == null) {
			jTextFieldConjugue = new JTextField();
		}
		return jTextFieldConjugue;
	}

	/**
	 * This method initializes jTextFieldProfis	
	 * 	
	 * @return javax.swing.JTextField	
	 */
	public JTextField getJTextFieldProfis() {
		if (jTextFieldProfis == null) {
			jTextFieldProfis = new JTextField();
		}
		return jTextFieldProfis;
	}

	/**
	 * This method initializes jTextFieldNatDe	
	 * 	
	 * @return javax.swing.JTextField	
	 * @throws ParseException 
	 */
	public JTextField getJTextFieldNatDe() throws ParseException {
		if (jTextFieldNatDe == null) {
			jTextFieldNatDe =  new JTextField();
		}
		return jTextFieldNatDe;
	}

	/**
	 * This method initializes jTextFieldNasc	
	 * 	
	 * @return javax.swing.JTextField	
	 * @throws ParseException 
	 */
	public JTextField getJTextFieldNasc() throws ParseException {
		if (jTextFieldNasc == null) {
			jTextFieldNasc = new JFormattedTextField(new MaskFormatter("##/##/####"));
		}
		return jTextFieldNasc;
	}

	/**
	 * This method initializes jTextFieldLimCred	
	 * 	
	 * @return javax.swing.JTextField	
	 */
	public JTextField getJTextFieldLimCred() {
		if (jTextFieldLimCred == null) {
			jTextFieldLimCred = new JTextField();
		}
		return jTextFieldLimCred;
	}

	/**
	 * This method initializes jTextFieldDataCad	
	 * 	
	 * @return javax.swing.JTextField	
	 */
	public JTextField getJTextFieldDataCad() {
		if (jTextFieldDataCad == null) {
			jTextFieldDataCad = new JTextField();
		}
		return jTextFieldDataCad;
	}

	/**
	 * This method initializes jTextFieldUltVenda	
	 * 	
	 * @return javax.swing.JTextField	
	 */
	public JTextField getJTextFieldUltVenda() {
		if (jTextFieldUltVenda == null) {
			jTextFieldUltVenda = new JTextField();
		}
		return jTextFieldUltVenda;
	}


}  //  @jve:decl-index=0:visual-constraint="86,14"
